useBasicAuth
Purpose
Enables the use of HTTP Basic authentication.Examples
jerseyRequestBuilder.get {
uri = "http://example.com/protected"
useBasicAuth = true
basicAuthUserName = "foo"
basicAuthPassword = "bar"
}Provides the Jersey client library and a builder to simplify use of the library.
|
(Quick Reference)
useBasicAuthPurposeEnables the use of HTTP Basic authentication.ExamplesjerseyRequestBuilder.get {
uri = "http://example.com/protected"
useBasicAuth = true
basicAuthUserName = "foo"
basicAuthPassword = "bar"
}DescriptionEnables the use of HTTP Basic authentication. This property is used in conjunction with useBasicAuth and basicAuthPassword. |
Jersey Request Builder |